package com.cll.mall.ware.feign;

import com.cll.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("mall-product")
public interface ProductFeignService {
    /**
     * 查询spu信息
     * @param id
     * @return
     */
    @RequestMapping("/product/spuinfo/info/{id}")
     R info(@PathVariable("id") Long id);
}
